package com.taldh.springboot;

import com.taldh.springboot.config.OkayProperties;
import com.taldh.springboot.config.OkayStarterAutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableConfigurationProperties(OkayProperties.class)
@ConditionalOnWebApplication
@Import(OkayStarterAutoConfiguration.class)
@interface EnableOkay {

}